export default [
  {
    path: '/',
    name: 'index',
    component: resolve => {
      require.ensure([], () => resolve(require('@/pages/Index/Index')))
    },
    meta: {title: '', keepAlive: false, isAlways: false}
  },
  {
    path: '/card',
    name: 'card',
    component: resolve => {
      require.ensure([], () => resolve(require('@/pages/card/Index')))
    },
    meta: {title: '', keepAlive: false, isAlways: false}
  },
  {
    path: '/cardDetail',
    name: 'cardDetail',
    component: resolve => {
      require.ensure([], () => resolve(require('@/pages/card/cardDetail')))
    },
    meta: {title: '', keepAlive: false, isAlways: false}
  },
  {
    path: '/run',
    name: 'run',
    component: resolve => {
      require.ensure([], () => resolve(require('@/pages/run/Index')))
    },
    meta: {title: '运动赚颜值', keepAlive: false, isAlways: false}
  },
  {
    path: '/runAttendance',
    name: 'RunAttendance',
    component: resolve => {
      require.ensure([], () => resolve(require('@/pages/run/RunAttendance')))
    },
    meta: {title: '步数打卡瓜分奖池', keepAlive: false, isAlways: false}
  },
  {
    path: '/runCompetition',
    name: 'RunCompetition',
    component: resolve => {
      require.ensure([], () => resolve(require('@/pages/run/RunCompetition')))
    },
    meta: {title: '步数竞赛', keepAlive: false, isAlways: false}
  },
  {
    path: '/runFortuneBags',
    name: 'RunFortuneBags',
    component: resolve => {
      require.ensure([], () => resolve(require('@/pages/run/RunFortuneBags')))
    },
    meta: {title: '步数福袋', keepAlive: false, isAlways: false}
  },
  {
    path: '/memberBenefits',
    name: 'MemberBenefits',
    component: resolve => {
      require.ensure([], () => resolve(require('@/pages/member/MemberBenefits')))
    },
    meta: {title: '会员权益', keepAlive: false, isAlways: false}
  },
  {
    path: '/levelDesc',
    name: 'LevelDesc',
    component: resolve => {
      require.ensure([], () => resolve(require('@/pages/member/LevelDesc')))
    },
    meta: {title: '等级说明', keepAlive: false, isAlways: true}
  },
  {
    path: '/goods',
    name: 'Goods',
    component: resolve => {
      require.ensure([], () => resolve(require('@/pages/goods/Index')))
    },
    meta: {title: '商品详情', keepAlive: false, isAlways: true}
  }
]